package cn.yunhe.video.dao;

import cn.yunhe.video.entity.Coin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
/**
 * <p>
 *  Mapper 接口
 * </p>
 * 骆超凡 邓永凯
 * @author 代码生成器(自动生成LF)
 * @since 2019-06-13
 */
@Repository
public interface CoinMapper extends BaseMapper<Coin> {
    /**
     * 投币
     * @param coin
     * @return
     */
    Coin query(Coin coin);


    int  addCoin(Coin coin);
}
